package com.xinghen.security.core.validate.code;

import org.springframework.web.context.request.ServletWebRequest;

/**
 * @author xinghen
 * @ClassName: ValidateCodeGenerator
 * @Package: com.xinghen.security.core.validate.code
 * @Description 验证码生成器接口
 * @create 2018-04-18 14:34
 */
public interface ValidateCodeGenerator {

    /**
     * 生成验证码
     *
     * @param request
     * @return
     */
    ValidateCode generate(ServletWebRequest request);

}
